<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.hz.control.ActTypeControl"%>
<%@page import="com.hz.model.ActType"%>
<%@page import="com.hz.model.ParamDepartment"%>
<%@page import="com.hz.control.ParamDepartmentManager"%>
<%@page import="com.hz.util.ParamUtil"%>
<%@page import="com.hz.model.User"%>
<%@page import="com.hz.model.Activity"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <title>申请活动</title>
  </head>
  <%//本页面id,label不要轻易修改
  request.setCharacterEncoding("utf-8");
  Activity a = new Activity();
  a.setActName(ParamUtil.getString(request,"actName","空"));
  a.setActType(ParamUtil.getInt(request,"actType"));
  a.setPeopleNum(ParamUtil.getInt(request,"peopleNum",0));
  a.setStartTime(ParamUtil.getString(request,"startTime","空"));
  a.setEndTime(ParamUtil.getString(request,"endTime","空"));
  a.setPlace(ParamUtil.getString(request,"place","空"));
  a.setCost(ParamUtil.getInt(request,"cost",0));
  a.setCostDetail(ParamUtil.getString(request,"costDetail","无"));
  a.setResource(ParamUtil.getString(request,"resource","无"));
  a.setLeader(ParamUtil.getString(request,"leader","无"));
  //a.setContent(ParamUtil.getString(request,"content1","无"));
  //a.setContent(request.getParameter("content1"));
  a.setDepartmentId(ParamUtil.getInt(request,"departmentId",1));
       session.setAttribute("act", a);
   %>
  <body>
  <form action="activity_add_do.jsp" method="post" name="form" id="testform">
  <table>
  
   <tr>
   <td colspan="4"><%@include file="../form.jsp" %></td></tr>
   <tr>
<td><input type="submit"  value="提交" /></td>
<td><input type="reset" value="重置"/></td>
</tr> 
  </table>
  </form>
  </body>
</html>
